<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<meta name="viewport"
	content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>${activity.title}</title>
<link rel="stylesheet" type="text/css"
	href="${ctx}/css/wx/public/reset.css">
<link rel="stylesheet" type="text/css"
	href="${ctx}/css/wx/public/font-awesome.css">
<link rel="stylesheet" type="text/css"
	href="${ctx}/css/wx/public/function.css">
<link rel="stylesheet" type="text/css" href="${ctx}/css/wx/style.css">

<script type="text/javascript"
	src="${ctx}/js/wx/model/jquery-1.8.0.min.js"></script>
<script type="text/javascript"
	src="${ctx}/js/wx/model/jquery.SuperSlide.2.1.1.source.js"></script>
<script type="text/javascript" src="${ctx}/js/wx/model/html5.js"></script>
<script type="text/javascript" src="${ctx}/js/wx/public.js"></script>
<script type="text/javascript" src="${ctx}/js/wx/app.js"></script>
</head>
<body class="g-body-in">
	<div class="g-wrap">
		<section class="main-sec loptop">
		<div class="m-title">
			<h3>中奖纪录</h3>
		</div>
		<dl class="peolist">
			<c:forEach items="${winuser}" var="win">
				<dd>
					<img src="${win.imgpath }" width="20%">
					<div class="right">
						<span><h2>${win.nickname}</h2> <em>${win.jpjs}</em>
						</span>
						<p>奖品：${win.jp } &nbsp;&nbsp;&nbsp;&nbsp;<a href="${ctx}/api/wxfrom/editUI.shtml?id=${win.id}"><c:if test="${win.status==0}">未验证</c:if></a>
								<c:if test="${win.status==1}">未兑换</c:if>
								<c:if test="${win.status==2}">已兑换</c:if></p>
						<p>
							<fmt:formatDate value="${win.createTime }"
								pattern="yyyy-MM-dd  HH:mm" />
						</p>
					</div>
				</dd>
			</c:forEach>

		</dl>

		</section>
	</div>

</body>
</html>